﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using Microsoft.SqlServer.Management.Smo;

namespace Bewise.SmartIndexManager.Core.Classes.Options
{
    public class IndexOption : AbstractOption
    {
        [XmlIgnore]
        public Index IndexSource { get; set; }

        public override string TargetObjectName
        {
            get { return string.Format("Index : {0}, Size : {1}", IndexSource.Name, IndexSource.SpaceUsed); }
        }
    }
}
